#  This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot)
#  Copyright (c) 2023 Drakkar-Software, All rights reserved.
#
#  OctoBot is free software; you can redistribute it and/or
#  modify it under the terms of the GNU General Public License
#  as published by the Free Software Foundation; either
#  version 3.0 of the License, or (at your option) any later version.
#
#  OctoBot is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#  General Public License for more details.
#
#  You should have received a copy of the GNU General Public
#  License along with OctoBot. If not, see <https://www.gnu.org/licenses/>.
import pytest

from additional_tests.exchanges_tests import test_coinbase

# All test coroutines will be treated as marked.
pytestmark = pytest.mark.asyncio


class TestCoinbaseLegacyAPIKeyAuthenticatedExchange(
    test_coinbase.TestCoinbaseAuthenticatedExchange
):
    # same as regular coinbase exchange test except that it is using the legacy api key format
    # (before organizations/ and -----BEGIN EC PRIVATE)
    CREDENTIALS_EXCHANGE_NAME = "coinbase_legacy_api_key"

    async def test_missing_trading_api_key_permissions(self):
        pass
